package com.example.user.annotation;

import com.example.user.enumerate.OperateTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * 埋点注解
 */
@Retention(RUNTIME)
@Target(ElementType.METHOD)
public @interface CheckPoint {
    /**
     * 客编
     *
     * @return
     */
    String customerNo() default "";

    /**
     * 操作类型
     * @return
     */
    OperateTypeEnum operateType();
}
